package com.lej.dataservice.club.bean.main.rank

import android.os.Parcelable
import kotlinx.parcelize.Parcelize

/**
 * Created by Administrator on 2020-03-22
 */

@Parcelize
data class P2PChatInfo(
    var uid: String?,
    var accid: String? = null
) : Parcelable {
    override fun equals(other: Any?): Boolean {
        if (this === other) return true
        (other as? P2PChatInfo)?.let { if (it.accid == accid) return true }
        return false
    }

    override fun hashCode() = accid?.hashCode() ?: 0
}